CC = gcc
PROG_NAME = mainapp
SRCS = CurlBase.c JsonBase.c Mainapp.c Public.c

LIBS = gtk+-2.0

FLAGS = `pkg-config --cflags --libs ${LIBS}` -lcurl -ljson -Wall -g

all:
	${CC} ${SRCS} -o ${PROG_NAME} ${FLAGS}

clean:
	rm mainapp

run:
	./mainapp
